package com.fastCms.business.mall.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 产品主表
 * </p>
 *
 * @author lsquan
 * @since 2019-07-05
 */
@ApiModel(value = "AppProductKnowledgeVO", description = "app端-商品相关知识对象")
@Data
public class AppProductKnowledgeVO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "知识名称", example = "三伏天如果注意避暑？")
    private String title;

    @ApiModelProperty(value = "文件类型（1-文件链接2-富文本ID）", example = "2")
    private int contentType;

    @ApiModelProperty(value = "展示样式:1-大图2-小图3-三图", example = "1")
    private int showStyle;

    @ApiModelProperty(value = "阅读量", example = "10")
    private int readNum;

    @ApiModelProperty(value = "封面图,字符串型数组")
    private List<String> imageUrls;

}
